﻿<%if not in_sdcms then response.write("template load fail"):response.end() end if%>
<!DOCTYPE html>
<!--[if IE 8]>			<html class="ie ie8"> <![endif]-->
<!--[if IE 9]>			<html class="ie ie9"> <![endif]-->
<!--[if gt IE 9]><!-->
<html>
<!--<![endif]-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{sdcms[seokey]}" />
<meta name="Description" content="{sdcms[seodesc]}" />
<title>{sdcms[webname]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script>var webroot="{webroot}";</script>
<script src="{webroot}theme/default/style/js/jquery-1.11.0.js" type="text/javascript"></script>
<link rel="stylesheet" href="{webroot}theme/default/style/css/font-awesome.css" type="text/css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/owl.carousel.css" media="screen" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/owl.theme.css" media="screen" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/bootstrap.3.2.0.css" type="text/css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/bootstrap-select.css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/theme.css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/theme-elements.css" type="text/css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/theme-animate.css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/theme-shop.css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/settings.css" media="screen" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/component.css" media="screen" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/bim.css" type="text/css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/custom.css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/theme-responsive.css" />
<link rel="stylesheet" href="{webroot}theme/default/style/css/datepicker3.css" />
<link rel="stylesheet" href="{webroot}theme/default/css/other.css" />
<!--[if IE]>
        <link rel="stylesheet" href="{webroot}theme/default/style/css/ie.css">
    <![endif]-->
<!--[if lte IE 8]>
        <script src="{webroot}theme/default/style/js/respond.js"></script>
    <![endif]-->
<script src="{webroot}lib/js/jquery.js"></script>
<script src="{webroot}lib/js/jquery-migrate-1.1.0.min.js"></script>
<script src="{webroot}lib/tips/jquery.tips.js"></script>
<script src="{webroot}lib/js/base.js"></script>
<script src="{webroot}lib/validator/jquery.validator.js"></script>
<script src="{webroot}lib/validator/zh_CN.js"></script>
<script src="{webroot}theme/default/js/sdcms.js"></script>
<script>
$(function(){
	
	$(".form_brand").validator(
	{
		stopOnError:true,
        theme:'yellow_right_effect',
		ignore:':hidden',
		valid:function(form)
		{
			$.fn.tips({type:'loading',content:'数据提交中'});
			$.ajax(
			{
				url:"?act=checkdb",
				type:"post",
				data:$(form).serialize(),
				success:function(data){
					data=jQuery.parseJSON(data);
					var type="warn";
					if(data.status=="y"){type="ok";}
					$.fn.tips({type:type,content:data.info});
					if(data.status=="y")
					{
						setTimeout("location.href='?'",1000);
					}
				}
			});
		}
	});
	
	$("#user_menu_15").addClass("hover");
});

</script>
</head>

<body>
<div class="body">
    {sdcms:include("../sdcms_head.asp")}
   <div id="useragreement-modal" class="modal fade" tabindex="-1">
    <div class="modal-dialog modal-lg">
      <div class="modal-content"></div>
    </div>
  </div>
  <div id="privacy-policy-modal" class="modal fade" tabindex="-1">
    <div class="modal-dialog modal-lg">
      <div class="modal-content"></div>
    </div>
  </div>
  <div role="main" class="main">
    <div class="space10"></div>
    <div id="content" class="content full">
      <div role="main" class="main shop">
        <div class="container">
         <div class="space20"></div>
        <div class="main_left">
        {sdcms:include("sdcms_menu.asp")}
        </div> 
        <div class="main_right">
        <div class="title">我的品牌 <font color="#ff0000">{msg}</font></div>
         <div class="p35">


               {dim userdata:userdata=sdcms.userinfo}
               {sdcms:rs top="1" table="sd_user" where="id=[userdata(0)]"}
               {dim my_Branden:my_Branden=$rs[my_Branden]}
               {dim my_Brandurl:my_Brandurl=$rs[my_Brandurl]}
               {dim my_Brandintro:my_Brandintro=$rs[my_Brandintro]}
               {dim my_Brandlogo:my_Brandlogo=$rs[my_Brandlogo]}
               {dim my_Brand:my_Brand=$rs[my_Brand]}
               {/sdcms:rs} 
                   <form class="form_brand" method="post">
                   <ul id="reg">
                       <li><em>品牌英文名称：</em><input type="text" name="my_Branden" class="ip w01" value="{my_Branden}" data-rule="品牌英文名称:required;"  /></li>
                       <li><em>品牌官网：</em><input type="text" name="my_Brandurl" class="ip w01" value="{my_Brandurl}" /></li>
                       <li><em>品牌简介：</em><textarea class="ipt w05" name="my_Brandintro" aria-required="true">{my_Brandintro}</textarea> </li>
                       <li><em>品牌logo：</em><input type="text" name="my_Brandlogo" class="ip w01" value="{my_Brandlogo}"  id="tupian" data-rule="品牌logo:required;" /><input type="button" class="bnt bnt_save" config="my_Brandlogo:1:0:1" value="上传"></li>
                       <li><em>品牌中文名称：</em><input type="text" name="my_Brand" class="ip w01" value="{my_Brand}"  data-rule="品牌中文名称:required;" /></li>
                       <dd><input type="submit" value="保存" class="bnt_blue" /> <input type="button" value="取消" onclick="location.href='javascript:history.go(-1)'" class="bnt_blue" /></dd>
                   </ul>
                   </form>
 <div class="t_photo">
			<dl class="clearFix">
				<dt id="upload" class="current">图片上传</dt>
				<dd class="clear">
					<div id="flash1">
                        <p id="swf1">本组件需要安装Flash Player后才可使用，请从<a href="http://www.adobe.com/go/getflashplayer">这里</a>下载安装。</p>
					</div>
					<ul id="editorPanelButtons" class="clearFix">
						<li class="alignR clearFix">
                            <a href="javascript:void(0)" class="button_upload">上传</a>
                            <a href="javascript:void(0)" class="button_cancel">取消</a>
                                                  <div class="clear"></div>  

                        </li>
					</ul>
				</dd>
			</dl>
            <div class="closed_a">×</div>
</div>  

        <script type="text/javascript" src="/sc/scripts/swfobject.js"></script>
        <script type="text/javascript" src="/sc/scripts/fullAvatarEditor.js"></script>
        <script type="text/javascript" src="/sc/scripts/demo.js"></script>
		<link rel="stylesheet" type="text/css" href="/sc/css/main.css">

                
 <script>                                   
$(".bnt").click(function(){
	$(".t_photo").show()
	})  
$(".closed_a").click(function(){
	$(".t_photo").hide()
	})               
</script>                   
          </div>
        </div> 
        <div class="clear"></div>
        </div>
      </div>
    </div>
  </div>
    {sdcms:include("../sdcms_foot.asp")}
  </div>
<script src="{webroot}theme/default/style/js/jqueryappear.js"></script> 

<!-- Libs --> 
<script src="{webroot}theme/default/style/js/plugins.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.easing.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.cookie.js"></script> 
<script src="{webroot}theme/default/style/js/bootstrap.min.3.2.0.js"></script> 
<script type="text/javascript" src="{webroot}theme/default/style/js/bootstrap-datepicker.js"></script> 
<script type="text/javascript" src="{webroot}theme/default/style/js/bootstrap-datepicker.defaults.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.themepunch.tools.min.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.themepunch.revolution.js"></script> 
<script src="{webroot}theme/default/style/js/owl.carousel.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.flipshow.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.stellar.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.validate.js"></script> 
<script src="{webroot}theme/default/style/js/jquery.isotope.js"></script> 
<script src="{webroot}theme/default/style/js/view.home.js"></script> 
<script src="{webroot}theme/default/style/js/theme.js"></script> 
<script type="text/javascript" src="{webroot}theme/default/style/js/site.dialogues.js"></script>
</body>
</html>